package com.ltxtiyu.video.dao.ltx;

import com.ltxtiyu.video.entity.MomentCount;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface MomentCountDao {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(MomentCount record);

    MomentCount selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MomentCount record);

    Integer selectSumBeLikedMomentCount(Integer userId);

    MomentCount selectByMomentId(Integer id);
}